//
//  ByBaseNaviController.m
//  beibei_ios
//
//  Created by pro on 16/4/19.
//  Copyright © 2016年 hebidu. All rights reserved.
//

#import "ByBaseNaviController.h"
#import "ByTransitionController.h"
@interface ByBaseNaviController () <UINavigationControllerDelegate>

@property (nonatomic, strong) ByTransitionController *transition;

@end

@implementation ByBaseNaviController

/** 在ByBaseNaviController 的viewDidLoad 中设置的属性 应是导航栏一直拥有的属性（不随push、pop改变）*/
- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.transition = [[ByTransitionController alloc] init];
    
    self.navigationBar.tintColor = [UIColor blackColor];
    // 设置导航栏标题颜色和字体大小
    NSDictionary *attr = @{
                           NSForegroundColorAttributeName:[UIColor blackColor],
                           NSFontAttributeName:B_FONT(20)
                           };
    [self.navigationBar setTitleTextAttributes:attr];
    
    
}
/** 导航栏push pop 不调用该方法，因为原理上，导航栏永远是这个导航控制器上的 */
- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
}

#pragma mark - 
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];

}



@end
